package com.dhecp.project.storage.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.storage.domain.DeliveryBoxDetail;

/**
 * DAO
 * @author Jason
 */
public interface DeliveryBoxDetailMapper extends GenericDao<DeliveryBoxDetail, String>  {

	/**
     * 查询实体
     * @author Jason
	 */
	List<DeliveryBoxDetail> select(Map<String, Object> params);

	/**
     * 查询实体
     * @author Jason
	 */
	List<DeliveryBoxDetail> listByBidBox(@Param("bidBox")String bidBox);

	/**
	 * 新增实体
	 * @author Jason
	 */
	int insertDeliveryBoxDetail(DeliveryBoxDetail entity);

	/**
	 * 通过bid删除
	 * @author Jason
	 */
	int deleteByBidBox(@Param("bidBox")String bidBox);

}
